﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Collections;

namespace OpenWings.UI.Elements
{
    class CustomPropertyDescriptor : PropertyDescriptor
    {
        public CustomPropertyDescriptor(PropertyDescriptor propertyDescriptor) 
            : base(propertyDescriptor, (Attribute[]) new ArrayList(propertyDescriptor.Attributes).ToArray(typeof(Attribute)))
        {

        }

        public override bool CanResetValue(object component)
        {
            throw new NotImplementedException();
        }

        public override Type ComponentType
        {
            get { throw new NotImplementedException(); }
        }

        public override object GetValue(object component)
        {
            throw new NotImplementedException();
        }

        public override bool IsReadOnly
        {
            get { throw new NotImplementedException(); }
        }

        public override Type PropertyType
        {
            get { throw new NotImplementedException(); }
        }

        public override void ResetValue(object component)
        {
            throw new NotImplementedException();
        }

        public override void SetValue(object component, object value)
        {
            throw new NotImplementedException();
        }

        public override bool ShouldSerializeValue(object component)
        {
            throw new NotImplementedException();
        }
    }
}
